'use strict';

angular.module('myApp.user', []).controller('userCtrl',['$scope','$http','$location',function($scope,$http,$location){
	
	$http.get('v1/admin').success(function(data){

		if(!data.error){
			$scope.users = data.result;
		}
        
          
    });
}]);
